﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp.TestFunc.Interface
{
    public interface IBattery
    {
        public double capacity { get; set; }
        public double GetCapacity();
        public void Supply(double consumption);
    }
}
